import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
  public innerData = [{
      text: '复旦大学',
      value:1,
      pinyin:'fudandaxue',
      active: false
    },{
      text: '同济大学',
      value:2,
      pinyin:'tongjidaxue',
      active: false
    },{
      text: '上海交通大学',
      value:3,
      pinyin:'shanghaijiaotongdaxue',
      active: false
    },{
      text: '华东师范大学',
      value:4,
      pinyin:'huadongshifandaxue',
      active: false
    },{
      text: '华东理工大学',
      value:5,
      pinyin:'huadongligongdaxue',
      active: false
    },{
      text: '华东大学',
      value:6,
      pinyin:'huadongdaxue',
      active: false
    },{
      text: '上海中医药大学',
      value:7,
      pinyin:'shanghaizhongyiyaodaxue',
      active: false
    },{
      text: '上海外国语大学',
      value:8,
      pinyin:'shanghaiwaiguoyudaxue',
      active: false
    },{
      text: '上海大学',
      value:9,
      pinyin:'shanghaidaxue',
      active: false
    }
  ]

  constructor(public navCtrl: NavController) {

  }

  getDispatchId(id){
    console.log(id)
  }

}
